package com.cloudkinto.service.orderback.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/8/5 14:50
 * @description:
 */
@Data
@ApiModel
public class OrderBackAddReq implements Serializable {
    @ApiModelProperty("店铺id")
    @NotNull(message = "pls.chose.shop")
    private Long shopId;

    @ApiModelProperty("仓库id")
    @NotNull(message = "pls.chose.storage")
    private Long storageId;

    @ApiModelProperty("公司id")
    @NotNull(message = "pls.chose.company")
    private Long companyId;

    /**
     * 原出库订单号
     */
    @ApiModelProperty("原出库订单号")
    private String orderOutNumber;

    /**
     * 联系人
     */
    @ApiModelProperty("联系人")
    private String contactName;

    /**
     * 联系方式
     */
    @ApiModelProperty("联系方式")
    private String telPhone;

    /**
     * 追踪号
     */
    @ApiModelProperty("追踪号")
    private String trackNumber;

    /**
     * 快递公司
     */
    @ApiModelProperty("快递公司")
    private String trackName;

    /**
     * 操作费
     */
    @ApiModelProperty("操作费")
    private Double operateFee;

    /**
     * 手续费
     */
    @ApiModelProperty("手续费")
    private Double taxFee;

    /**
     * 运输费
     */
    @ApiModelProperty("运输费")
    private Double shipFee;

    @NotEmpty(message = "pls.chose.sku")
    private List<OrderBackAddItem> items;
}
